package com.mapper;

import com.pojo.Site;
import com.vo.SiteVo;

import java.util.List;

public interface SiteMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Site record);

    int insertSelective(Site record);

    Site selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Site record);

    int updateByPrimaryKey(Site record);



    //查询巡检项目表
    public List<Site> selectAllSite(SiteVo siteVo);
    public List<Site> selectAllSite2();


    public Integer selectsitebyid(Integer id);

    public List<Site> selectpointbysiteid(Integer id);
}